﻿@model BemEstarEmprego.BLL.Models.LogOnModel
@{
	ViewBag.Title = "LogOn";
}
@section Script{
	@Content.Script("Site.js", Url)
}
@*@Html.Hidden("tabName", "projetoTab")*@
@using (Html.BeginForm())
{
	<div class='main-outer'>
		<div class='fauxborder-left main-fauxborder-left'>
			<div class='fauxborder-right main-fauxborder-right'>
			</div>
			<div class='region-inner main-inner'>
				<div class='columns fauxcolumns'>
					<!-- corrects IE6 width calculation -->
					<div class='columns-inner'>
						<div class='column-center-outer'>
							<div class='column-center-inner'>
								<div class='main section' id='main'>
									<!-- google_ad_section_start(name=default) -->
									<div class='post-outer'>
										<div style="width: 200px; float: left;">
											<div>
												<div class="labelContainer">
													@Html.LabelFor(m => m.usuario.User)
												</div>
												<div class="componentContainer">
													@Html.TextBoxFor(m => m.usuario.User)
												</div>
												<div class="labelContainer">
													@*@Html.LabelFor(m => m.Password)*@
													@Html.LabelFor(m => m.usuario.Password)
												</div>
												<div class="componentContainer">
													@*@Html.PasswordFor(m => m.Password)*@
													@Html.PasswordFor(m => m.usuario.Password)
												</div>
												<div class="buttonContainer">
													<input class="btn" type="submit" value="Logar" />
												</div>
												<div>
													@{ if (Model != null)
				{
					if (!Model.usuario.IsValidUser)
					{
														<div class="alert">
															<button type="button" class="close" data-dismiss="alert">
																&times;</button>
															<strong>Erro!</strong>
															<div>@Html.Raw(ViewBag.MsgErro)</div>
														</div>
					}
				}
													}
												</div>
											</div>
										</div>
										<div style="margin-left: 240px; color: Gray;">
											<div>
												<p>
													Acesso restrito para o ambiente administrativo<br />
													Qualquer detalhe, entre em contato pelo email: sbh@gmail.com</p>
											</div>
										</div>
										<div class='comments' id='comments'>
											<a name='comments'></a>
											<div id='Blog1_comments-block-wrapper'>
												<dl class='avatar-comment-indent' id='comments-block'>
												</dl>
											</div>
											<p class='comment-footer'>
											</p>
											<div id='backlinks-container'>
												<div id='Blog1_backlinks-container'>
												</div>
											</div>
										</div>
									</div>
									<!-- google_ad_section_end -->
									<div class='clear'>
									</div>
									<div class='blog-feeds'>
										<div class='feed-links'>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
					<div style='clear: both'>
					</div>
					<!-- columns -->
				</div>
				<!-- main -->
			</div>
		</div>
	</div>
}
